package com.ucode.model.cgms.convert;

import com.ucode.model.cgms.CgmsGiftRewardOrder;
import com.ucode.model.cgms.vo.CgmsGiftRewardOrderVO;
import com.ucode.tool.base.Paginator;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.ucode.model.cgms.form.CgmsGiftRewardOrderForm; // 添加缺失的导入

import java.util.List;

@Mapper
public interface CgmsGiftRewardOrderConvert {

    CgmsGiftRewardOrderConvert INSTANCE = Mappers.getMapper(CgmsGiftRewardOrderConvert.class);

    CgmsGiftRewardOrder convert(CgmsGiftRewardOrderForm form);

    CgmsGiftRewardOrderVO convert(CgmsGiftRewardOrder bean);

    Paginator<CgmsGiftRewardOrderVO> convertPage(Paginator<CgmsGiftRewardOrder> page);

    List<CgmsGiftRewardOrderVO> convertList(List<CgmsGiftRewardOrder> list);

}
